<?php /* Smarty version Smarty-3.1.21, created on 2015-06-01 14:18:40
         compiled from "D:\mywamp\www\2015php\wenda\Index\View\home\home.html" */ ?>
<?php /*%%SmartyHeaderCode:5125569d2ac25f9c0-76478327%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b95a96bc6050a663a8fe8dbf86e7443b23af3be2' => 
    array (
      0 => 'D:\\mywamp\\www\\2015php\\wenda\\Index\\View\\home\\home.html',
      1 => 1433139516,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '5125569d2ac25f9c0-76478327',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.21',
  'unifunc' => 'content_5569d2ac4471d9_65834984',
  'variables' => 
  array (
    'userinfo' => 0,
    'cnl' => 0,
    'myask' => 0,
    'v' => 0,
    'myanswer' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5569d2ac4471d9_65834984')) {function content_5569d2ac4471d9_65834984($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_substr')) include 'D:\\mywamp\\www\\2015php\\wenda\\Lwbphp\\Extend\\Org\\Smarty\\plugins\\modifier.substr.php';
if (!is_callable('smarty_modifier_date_format')) include 'D:\\mywamp\\www\\2015php\\wenda\\Lwbphp\\Extend\\Org\\Smarty\\plugins\\modifier.date_format.php';
?>
	
			<p class='title'>我的首页</p>

			<ul class='property'>
				<li>金币：<span><?php echo $_smarty_tpl->tpl_vars['userinfo']->value['point'];?>
</span></li>
				<li>经验值：<span><?php echo $_smarty_tpl->tpl_vars['userinfo']->value['exp'];?>
</span></li>
				<li>采纳率：<span><?php echo $_smarty_tpl->tpl_vars['cnl']->value;?>
</span></li>
			</ul>
			<div class='list'>
				<p><span>我的提问 <b>(共<?php echo count($_smarty_tpl->tpl_vars['myask']->value);?>
条)</b></span><a href="<?php echo @constant('__APP__');?>
?c=home&a=myask">更多>></a></p>
				<table>
						<?php if (count($_smarty_tpl->tpl_vars['myask']->value)==0) {?>
						<tr height='140'>
							<td>你还没有进行过提问 V_V</td>
						</tr>
						<?php } else { ?>
						<tr>
							<th class='t1'>标题</th>
							<th>回答数</th>
							<th class='t3'>更新时间</th>
						</tr>
						<?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['myask']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->_loop = true;
?>
						<tr>
							<td class='t1'>
								<a href="<?php echo @constant('__APP__');?>
?c=show&asid=<?php echo $_smarty_tpl->tpl_vars['v']->value['asid'];?>
"><?php echo smarty_modifier_substr($_smarty_tpl->tpl_vars['v']->value['content'],45);?>
</a><span>[ <?php echo $_smarty_tpl->tpl_vars['v']->value['title'];?>
 ]</span>
							</td>
							<td><?php echo $_smarty_tpl->tpl_vars['v']->value['answer'];?>
</td>
							<td class='t3'><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['v']->value['time'],"%Y-%m-%d");?>
</td>
						</tr>
						<?php } ?>
						<?php }?>
				</table>
			</div>
			<div class='list'>
				<p><span>我的回答 <b>(共<?php echo count($_smarty_tpl->tpl_vars['myanswer']->value);?>
条)</b></span><a href="">更多>></a></p>
				<table>
					<?php if (count($_smarty_tpl->tpl_vars['myanswer']->value)==0) {?>
					<tr height='140'>
						<td>你还没有进行过提问 V_V</td>
					</tr>
					<?php } else { ?>
					<tr>
						<th class='t1'>标题</th>
						<th>回答</th>
						<th class='t3'>更新时间</th>
					</tr>
						
							<?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['myanswer']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->_loop = true;
?>
							<tr>
								<td class='t1'>
									<a href="<?php echo @constant('__APP__');?>
?c=show&asid=<?php echo $_smarty_tpl->tpl_vars['v']->value['asid'];?>
"><?php echo smarty_modifier_substr($_smarty_tpl->tpl_vars['v']->value['content'],45);?>
</a><span>[ <?php echo $_smarty_tpl->tpl_vars['v']->value['title'];?>
 ]</span>
								</td>
								<td><?php echo $_smarty_tpl->tpl_vars['v']->value['answer'];?>
</td>
								<td class='t3'><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['v']->value['time'],"%Y-%m-%d");?>
</td>
							</tr>
							<?php } ?>
					<?php }?>
				</table>
			</div>
		</div>
<?php }} ?>
